/*******************************************************************************
 * Copyright 2011 Mile Orešković
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 ******************************************************************************/
package com.mileoresko.hsm.examples.phone;

import com.mileoresko.hsm.HSMEvent;

public class PhoneEvent extends HSMEvent {
    public static final PhoneEvent CALL_REQUESTED = new PhoneEvent("CALL_REQUESTED");

    public static final PhoneEvent CONNECT_FAILED = new PhoneEvent("CONNECT_FAILED");
    public static final PhoneEvent CONNECT_SUCCESS = new PhoneEvent("CONNECT_SUCCESS");
    public static final PhoneEvent CALL_ACCEPTED = new PhoneEvent("CALL_ACCEPTED");
    public static final PhoneEvent CALL_ENDED_BY_ME = new PhoneEvent("CALL_ENDED_BY_ME");
    public static final PhoneEvent CALL_ENDED_BY_OTHER = new PhoneEvent("CALL_ENDED_BY_OTHER");
    public static final PhoneEvent CALL_REJECTED = new PhoneEvent("CALL_REJECTED");
    public static final PhoneEvent RINGING_BACK = new PhoneEvent("RINGING_BACK");
    public static final PhoneEvent DIALING_FAILED = new PhoneEvent("DIALING_FAILED");
    public static final PhoneEvent NO_OP = new PhoneEvent("NO_OP");

    protected PhoneEvent(final String label) {
        super(label);
    }
}
